<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>Vue</title>
    <!-- development version, includes helpful console warnings -->
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <!-- production version, optimized for size and speed -->
    <script src="https://cdn.jsdelivr.net/npm/vue"></script>
</head>
<script>

</script>

<body>
    <div id="app" >
        <input type="text" v-model = "userval"><br>
        <input type="radio" v-model="radioval" v-bind:value="userval">
        <p>radioval: {{radioval}}</p>
    </div>
    <script>
        var vue = new Vue({
            el: '#app',
            data: {
                userval: null,
                radioval: false
            }
        })

    </script>


</body>

</html>